
// 使用的是ECB模式
export default {
  eidToPcLink(eid) {
	if(eid == null || eid.length <= 0){
		return '';
	}
	let s = eid.split("-")[1]
    let link = `https://xyq.cbg.163.com/equip?s=${s}&eid=${eid}`;
	return link;
  },
  pcLinkToMobileLink(link){
	  return link.replace('https://xyq.cbg.163.com/equip?s=','http://xyq-m.cbg.163.com/cgi/mweb/equip/').replace('&eid=','/').replace('&o','');
  },
} 